<!doctype html>
<html xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<title>[[${name}]]——菜单设置</title>
	<link rel="icon" type="image/x-icon" href="/static/img/favicon.ico">
	<meta charset="utf-8">
	<th:block th:include="include/src :: grid_base_js_and_css"/>
</head>
<body>
	<div class="layui-tab layui-tab-brief" style="background-color: #fff; height: 100vh;" >
		<ul class="layui-tab-title">
			<li class="layui-this">基本信息</li>
			<li onclick="doReload(this, 'id_iframe_2')">主表</li>
			<li onclick="doReload(this, 'id_iframe_3')">表单新增及编辑</li>
			<li onclick="doReload(this, 'id_iframe_4')">表单详情</li>
			<li onclick="doReload(this, 'id_iframe_5')">手机端表单</li>
			<li onclick="doReload(this, 'id_iframe_6')">上传字段</li>
			<li onclick="doReload(this, 'id_iframe_7')">按钮管理</li>
			<li onclick="doReload(this, 'id_iframe_8')">子列表字段</li>
			<li onclick="doReload(this, 'id_iframe_9')">手机端子列表字段</li>
			<li onclick="doReload(this, 'id_iframe_10')">子列表按钮</li>
			<li onclick="doReload(this, 'id_iframe_11')">行单击列表字段</li>
		</ul>
		<div class="layui-tab-content">
			<div class="layui-tab-item layui-show">
				<iframe id="id_iframe_1" frameborder="0" scrolling="yes" style="width:99%; height:calc(100vh - 100px);" th:src="@{'/web/sys/ysMenu/toSettingBase?id=' + ${id}}"></iframe>
			</div>
			<div class="layui-tab-item">
				<iframe id="id_iframe_2" frameborder="0" scrolling="yes" style="width:99%; height:calc(100vh - 50px);" th:src="@{'/web/sys/ysMenu/toSettingGrid?id=' + ${id}}"></iframe>
			</div>
			<div class="layui-tab-item">
				<iframe id="id_iframe_3" frameborder="0" scrolling="yes" style="width:99%; height:calc(100vh - 50px);" th:src="@{'/web/sys/ysMenu/toSettingFormAddAndEdit?id=' + ${id}}"></iframe>
			</div>
			<div class="layui-tab-item">
				<iframe id="id_iframe_4" frameborder="0" scrolling="yes" style="width:99%; height:calc(100vh - 50px);" th:src="@{'/web/sys/ysMenu/toSettingFormDetail?id=' + ${id}}"></iframe>
			</div>
			<div class="layui-tab-item">
				<iframe id="id_iframe_5" frameborder="0" scrolling="yes" style="width:99%; height:calc(100vh - 50px);" th:src="@{'/web/sys/ysMenu/toSettingFormApp?id=' + ${id}}"></iframe>
			</div>
			<div class="layui-tab-item">
				<iframe id="id_iframe_6" frameborder="0" scrolling="yes" style="width:99%; height:calc(100vh - 50px);" th:src="@{'/web/sys/ysMenu/toSettingImport?id=' + ${id}}"></iframe>
			</div>
			<div class="layui-tab-item">
				<iframe id="id_iframe_7" frameborder="0" scrolling="yes" style="width:99%; height:calc(100vh - 50px);" th:src="@{'/web/sys/ysMenu/toSettingButton?id=' + ${id}}"></iframe>
			</div>
			<div class="layui-tab-item">
				<iframe id="id_iframe_8" frameborder="0" scrolling="yes" style="width:99%; height:calc(100vh - 50px);" th:src="@{'/web/sys/ysMenu/toSettingSubGrid?id=' + ${id}}"></iframe>
			</div>
			<div class="layui-tab-item">
				<iframe id="id_iframe_9" frameborder="0" scrolling="yes" style="width:99%; height:calc(100vh - 50px);" th:src="@{'/web/sys/ysMenu/toSettingSubGridApp?id=' + ${id}}"></iframe>
			</div>
			<div class="layui-tab-item">
				<iframe id="id_iframe_10" frameborder="0" scrolling="yes" style="width:99%; height:calc(100vh - 50px);" th:src="@{'/web/sys/ysMenu/toSettingSubGridBtn?id=' + ${id}}"></iframe>
			</div>
			<div class="layui-tab-item">
				<iframe id="id_iframe_11" frameborder="0" scrolling="yes" style="width:99%; height:calc(100vh - 50px);" th:src="@{'/web/sys/ysMenu/toSettingRowClickGrid?id=' + ${id}}"></iframe>
			</div>
		</div>
	</div>
	
	<script type="text/javascript">
	function doReload(dom, id_iframe) {
		document.getElementById(id_iframe).contentWindow.location.reload(true);
	}
	
	</script>
</body>
		
</html>